<div class="secSearch">
	<input type="hidden" name="pcancel" id="pcancel" value="0" />
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody>
            <tr>  
            	{if $smarty.const.LANGUAGE_MULTI}  
                    <td class="firstChild" width="20%">
                        <label for="lg">Ngôn ngữ:</label>
                        <select name="lg" id="lg" onchange="this.form.submit();">   
                            <option value="0">Tất cả</option>                     
                            {html_options options=$arrLang selected=$intLanguage}
                        </select>
                    </td>
                {/if}
                <td width="20%" {if !$smarty.const.LANGUAGE_MULTI}class="firstChild"{/if}>
                    <label for="stt">Tình trạng:</label>
                    <select name="stt" id="stt" onchange="this.form.submit();">                       	                
                       	{html_options options=$arrStatus selected=$intStatus}
                    </select>
                </td>                                  
                <td width="20%">
                    <label for="startdate">Ngày đăng:</label>
                    <input type="text" name="startdate" id="startdate" value="{if isset($smarty.session.orinpost)}{$smarty.session.orinpost.startdate|escape}{/if}" class="half firstItem"/>
                    <input type="text" name="enddate" id="enddate" value="{if isset($smarty.session.orinpost)}{$smarty.session.orinpost.enddate|escape}{/if}" class="half"/>
                </td>  
                {if !$smarty.const.LANGUAGE_MULTI}
                	<td>
                    	<label>&nbsp;</label>
                        <input type="submit" value="Tìm kiếm" class="btn"/>
                        {if isset($smarty.session.orincancel) && $smarty.session.orincancel == 1}                
                            <input type="button" value="Thôi tìm kiếm" class="btnCancel" onclick="javascript:cancelSearch(this.form);"/>
                        {/if}
                    </td>
                {/if}              
            </tr> 
            {if $smarty.const.LANGUAGE_MULTI} 
                <tr>
                    <td colspan="4" align="center">
                        <input type="submit" value="Tìm kiếm" class="btn"/>
                        {if isset($smarty.session.orincancel) && $smarty.session.orincancel == 1}                
                            <input type="button" value="Thôi tìm kiếm" class="btnCancel" onclick="javascript:cancelSearch(this.form);"/>
                        {/if}
                    </td>
                </tr>
            {/if}
        </tbody>
    </table>
</div>